//
//  WifiInfo.h
//  VAVABaby
//
//  Created by jinbo on 2021/7/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface WifiInfo : NSObject

@property (nonatomic, strong) NSData *dataValue;

@property (nonatomic, assign) NSInteger wifiIndex;

@property (nonatomic, assign) NSInteger wifiSSIDLength;

@property (nonatomic, copy) NSString *wifiSSID;

@property (nonatomic, strong) NSData *wifiSSIDLengthByte;

@property (nonatomic, strong) NSData *wifiSSIDByte;

@property (nonatomic, strong) NSData *wifiBssid;


@property (nonatomic, assign) NSInteger wifiRssi;

@property (nonatomic, assign) NSInteger wifiSecutiry;

@property (nonatomic, strong) NSData *wifiSecutiryByte;

@property (nonatomic, copy) NSString *userInputPassword;

@property (nonatomic, strong) NSMutableData *finalData;

//- (instancetype)initWifiInfoWithData:(NSData *) data;

+ (instancetype)initWifiInfoWithData:(NSData *)data;

+ (instancetype)convertWifiInfo2Ssid:(NSString *) ssid
                            Password:(NSString *) password;

@end

NS_ASSUME_NONNULL_END
